package simulation;

import java.util.Vector;

import done.ScaleWriter;

public class WriterCollection{

		public static Vector<ScaleWriter>  allWriters=new Vector<ScaleWriter>();
		
		public static void startAll()
		{
			for(int i=0;i<allWriters.size();i++)
			{
				allWriters.get(i).runWorker();
			}
		}
		
		public static void stopAll()
		{
			for(int i=0;i<allWriters.size();i++)
			{
				allWriters.get(i).finished();
			}
		}
}
